﻿using System;
using System.Collections.Generic;

namespace YJKExcelFormTool.Forms
{
	public class HeadColumnMappingScheme
	{
		public string SourceName
		{
			get
			{
				return this.m_SourceName;
			}
		}

		public int SheetIndex
		{
			get
			{
				return this.m_SheetIndex;
			}
		}

		public List<KeyValuePair<string, string>> MappingInfo
		{
			get
			{
				return this.m_MappingInfo;
			}
		}

		private HeadColumnMappingScheme()
		{
		}

		public HeadColumnMappingScheme(string sourceName, int sheetIndex)
		{
			this.m_MappingInfo = new List<KeyValuePair<string, string>>();
			this.m_SourceName = sourceName;
			this.m_SheetIndex = sheetIndex;
		}

		public void AddMappingItem(KeyValuePair<string, string> item)
		{
			this.m_MappingInfo.Add(item);
		}

		private string m_SourceName;

		private int m_SheetIndex;

		private List<KeyValuePair<string, string>> m_MappingInfo;
	}
}
